provide Tooltip Lines
open override fun provideTooltipLines(mouseX: Int, mouseY: Int, parentSelected: Boolean, keyboardFocused: Boolean): List<Text>
Provides a list of text lines for appending to a tooltip. Unlike appending in MC, the parent has final say on compiling the tooltip from the pieces given to it.
Return
A list of Text tooltip lines to append into the parents tooltip
Author
fzzyhmstrs
Since
0.6.0
Parameters
mouse X
Horizontal position of the mouse in pixels.
mouse Y
Vertical position of the mouse in pixels.
parent Selected
True if the parent is hovered or focused
keyboard Focused
True if the parent is focused (NOT hovered) and navigation is via keyboard